# -*- encoding: utf-8 -*-
'''
@File    :   5_fight.py
@Time    :   2022/12/15 17:24:07
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib
from dog import Dog
from people import People

if __name__ == "__main__":
    D1 = Dog()
    D2 = Dog()
    D3 = Dog()
    P1 = People()
    P2 = People()

    D1.attacked(P1.aggress)
    D1.isalive()
    P1.attacked(D1.aggress)
    P1.isalive()